package com.edu.hbsi.Thread_;

/**
 * @author 程奕红
 * @version 1.0
 */
public class Test {
    public class DoubleNode<T>{
        public T data;
        public DoubleNode<T>prev,next;
        public DoubleNode(T data,DoubleNode<T>prev,DoubleNode<T>next){
            this.data=data;
            this.prev=prev;
            this.next=next;
        }
        public DoubleNode(){
            this(null,null,null);
        }
        public String toString(){
            return this.data.toString();
        }

    }
}
